import Mongoose from "mongoose";
import { Content } from "../../entities/content";
import { contentSchema, messageSchema } from "../schma";
export interface IContent extends Content, Mongoose.Document{};
export interface IMessage extends Content, Mongoose.Document{};

export const contentModel = Mongoose.model<IContent>("content", contentSchema);

export const messageModel = Mongoose.model<IMessage>("message", messageSchema);